package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 城市名
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_city")
public class FlowCity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "city_id", type = IdType.AUTO)
    private Long cityId;

    @TableField("province")
    private String province;

    @TableField("city")
    private String city;

    @TableField("is_hot")
    private Integer isHot;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("hide")
    private Integer hide;


    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getHide() {
        return hide;
    }

    public void setHide(Integer hide) {
        this.hide = hide;
    }

    @Override
    public String toString() {
        return "FlowCity{" +
                "cityId=" + cityId +
                ", province=" + province +
                ", city=" + city +
                ", isHot=" + isHot +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", hide=" + hide +
                "}";
    }
}
